<div ng-app="person" ng-controller="selectEmployeeCtrl">
    <div class="button">
        <button type="button" class="btn btn-default" id="submit" ng-click="selectSubmit()">查询</button>
        <button type="button" class="btn btn-default" id="clean" ng-click="clean()">清除</button>
    </div>

    <form class="form-inline">

        <!--S=所有机构-->
        <div class="form-group">
            <label for="first_org">一级机构</label>
            <select class="form-control"  ng-model="first_org" id="first_org"  >
                <option ng-repeat=" firstOrg in firstOrgList" value="{{firstOrg}}">{{firstOrg}}</option>
                <!--<option>01</option>-->
                <!--<option>2</option>-->
                <!--<option>3</option>-->
                <!--<option>4</option>-->
                <!--<option>5</option>-->
            </select>

        </div>
        <div class="form-group">
            <label for="second_org">二级机构</label>
            <select class="form-control" ng-model="second_org"  id="second_org" >
                <option value="{{sencondOrg}}" ng-repeat="sencondOrg in sencondOrgList">{{sencondOrg}}</option>

            </select>

        </div>
        <div class="form-group">
            <label for="third_org">三级机构</label>
            <select class="form-control"  ng-model="third_org" id="third_org">
                <option value="{{thirdOrg}}" ng-repeat="thirdOrg in thirdOrgList">{{thirdOrg}}</option>
            </select>

        </div>
        <!--S=所有机构-->


        <!--</div>-->
        <div class="form-group">
            <label for="position_type">职位分类</label>
            <select class="form-control"  ng-model="position_type" ng-change='positionChang()' id="position_type">
                <option value="{{positionType}}" ng-repeat="positionType in position_Type">{{positionType}}</option>

            </select>

        </div>
        <div class="form-group">
            <label for="position_name">职位名称</label>
            <select class="form-control" id="position_name" ng-model="position_name" >
                <!--<option value="1" selected>1</option>-->
                <option value="{{positionName}}" ng-repeat="positionName in position_Name">{{positionName}}</option>

            </select>

        </div>
        <div class="form-group">
            <label for="position_title">职位称呼</label>
            <select class="form-control" id="position_title" ng-model="position_title">
                <option value="{{positionTitle}}" ng-repeat="positionTitle in position_Title">{{positionTitle}}</option>
            </select>
        </div>
        <!--S=所有职称名-->


        <div class="form-group">
            <label for="startTime">建档时间</label>
            <input type="date"  class="form-control" id="startTime" ng-model="startTime" ng-change="timeChange()">
            <!--<h1>时间{{startTime}}</h1>-->
        </div>
        <div class="form-group">
            <label for="endTime">至</label>
            <input type="date"  class="form-control" id="endTime" ng-model="endTime">
        </div>




    </form>


</div>